<!DOCTYPE html>
<script>
    localStorage.setItem("foo", "barbaz");
    parent.postMessage("local storage set", "*");
</script>
